package com.bw.common.utils

import com.bw.log.Logger
import com.bw.log.LoggerLevel
import com.bw.log.LoggerType

/**
 * @author:created by hahajing
 * 时间：2024/4/25 0025
 * 企鹅号:444511958
 * 描述:
 */
object LogUtils {
    private val logger:Logger
    init {
        logger =  Logger.Builder()
            .setDebug(true)
            .setLevel(LoggerLevel.Verbose)
            .setType(LoggerType.Logcat)
            .setTag("bawei")
            .build()
    }

    fun v(tag: String?, log: String?) {
        logger.v(tag, log)
    }

    fun i(tag: String?, log: String?) {
        logger.i(tag, log)
    }

    fun d(tag: String?, log: String?) {
        logger.d(tag, log)
    }

    fun w(tag: String?, log: String?) {
        logger.w(tag, log)
    }

    fun e(tag: String?, log: String?) {
        logger.e(tag, log)
    }

}